Get Connection Log
Route
/v2/streaming/profiles/{profile_id}/connection-log
Description
Retrieve connection log entries for a streaming profile. Supports both GET and POST methods for flexible querying.
Method
GET | POST
Inputs
| Parameter | Type | Required | Description |
|---|---|---|---|
profile_id | string | Yes | The unique identifier of the profile |
error_filter | string | No | Filter by entry type (all, error, success) |
start_time | string | No | Earliest log entry time (ISO 8601) |
end_time | string | No | Latest log entry time (ISO 8601) |
page_size | integer | No | Number of entries to return (max 50) |
page_id | string | No | Page ID for pagination |
POST Request Body
{
"error_filter": "error",
"start_time": "2024-01-01T00:00:00Z",
"end_time": "2024-01-31T23:59:59Z",
"page_size": 25,
"page_id": "next_page_token"
}
Output
| Field | Type | Description |
|---|---|---|
profile_id | string | Profile identifier |
resources | array[LogEntry] | Array of connection log entries |
size | integer | Number of entries returned |
next_page_id | string | Token for next page |
errors | array[Error] | Any errors encountered |
Log Entry Object Structure
| Field | Type | Description |
|---|---|---|
id | string | Unique log entry identifier |
time | string | Entry timestamp (ISO 8601) |
error | boolean | Whether this was an error entry |
status_code | integer | HTTP status code |
status_message | string | Status message |
record_count | integer | Number of records in this batch |
Rate Limit
- 60 requests per minute per API key
- 5 concurrent requests per endpoint
Example Response
{
"profile_id": "profile-123",
"resources": [
{
"id": "log-456",
"time": "2024-01-15T10:30:00Z",
"error": false,
"status_code": 200,
"status_message": "Success",
"record_count": 150
},
{
"id": "log-789",
"time": "2024-01-15T10:25:00Z",
"error": true,
"status_code": 500,
"status_message": "Internal Server Error",
"record_count": 0
}
],
"size": 2,
"next_page_id": "next_token_abc123",
"errors": []
}